<?php
$url = '1.htm';

$data = file_get_contents($url);

preg_match('#Teata otsimisest/leidmisest(.*)#is', $data, $logs);


echo "Logid :". $logs[1]."<br/>";

//$loga=explode($logs[1],Vihje);

echo "<pre>";

print_r ($logs);
 

?> 